Up to (upTo x)

Basic and Crystal syntax.

upTo x is preferred in Crystal syntax, whereas Is <= x is preferred in Basic syntax.

Usage

upTo x

upTo x is used to specify a range of values less than or equal to the value x. x can be of any type: Number, Boolean, Currency, Date, Time, DateTime, and String.

Examples

The following examples are applicable to Basic and Crystal syntax:

upTo 250

The range of all numbers less than or equal to 250.

upTo CDate (2000, 3, 17)

The range of dates before March 17, 2000, up to and including March 17, 2000.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com